<?php
/**
 * Created by JetBrains PhpStorm.
 * User: amitnaik
 * Date: 20/05/13
 * Time: 1:23 PM
 * To change this template use File | Settings | File Templates.
 */

App::uses('AppHelper', 'View/Helper');


class FormatHelper extends AppHelper{


    function dateFormat($date)
    {
        return date('d/m/Y', strtotime($date));
    }

    function timeFormat($time)
    {
        return date('g:i A', strtotime($time));
    }


}

?>